package com.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hlt
 * @since 2019-12-25
 */

public class Notices implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 通知id
     */
	private String id;
    /**
     * 用户id
     */
	private String userid;
    /**
     * 通知内容
     */
	private String whys;
    /**
     * 是否阅读 0未阅读 1已阅读
     */
	private Integer isread;
    /**
     * 通知类型
     */
	private String tpname;
    /**
     * 通知时间
     */
	private Date nttime;
    /**
     * 是否为新通知 1是 2不是
     */
    private Integer latest;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getWhys() {
		return whys;
	}
	public void setWhys(String whys) {
		this.whys = whys;
	}
	public Integer getIsread() {
		return isread;
	}
	public void setIsread(Integer isread) {
		this.isread = isread;
	}
	public String getTpname() {
		return tpname;
	}
	public void setTpname(String tpname) {
		this.tpname = tpname;
	}
	public Date getNttime() {
		return nttime;
	}
	public void setNttime(Date nttime) {
		this.nttime = nttime;
	}
	public Integer getLatest() {
		return latest;
	}
	public void setLatest(Integer latest) {
		this.latest = latest;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Notices [id=" + id + ", userid=" + userid + ", whys=" + whys + ", isread=" + isread + ", tpname="
				+ tpname + ", nttime=" + nttime + ", latest=" + latest + "]";
	}
    

}
